// 这个是用来干嘛的 就是给表单提供数据的
import { reactive } from 'vue'
import {AddModel } from '@/api/01work/01type'
export default function useBaseModel(){
  const rules = reactive({
     name: [{
            required: true,
            message: '请填写阶段名称',
            trigger: 'blur',
        }]
  })
  const dialogModel=reactive<AddModel>({
    name:'',
    sort:'',
    id:'',
    de:''
  })
  return {
    rules,dialogModel
  }
}